package com.homeparking.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.homeparking.common.annotation.Excel;
import com.homeparking.common.core.domain.TreeEntity;

/**
 * 省市县对象 manage_area
 * 
 * @author liuyangyang
 * @date 2025-10-24
 */
public class ManageArea extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门id */
    private Long areaId;

    /** 地区全名 */
    @Excel(name = "地区全名")
    private String areaName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long sort;

    /** 负责人 */
    @Excel(name = "负责人")
    private String latitude;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String longitude;

    /** 地区短名 */
    @Excel(name = "地区短名")
    private String shortName;

    /** 部门状态（0正常 1停用） */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 级别 1省 2市 3区 4街道 */
    @Excel(name = "级别 1省 2市 3区 4街道")
    private String level;

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }

    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("parentId", getParentId())
            .append("areaName", getAreaName())
            .append("sort", getSort())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("shortName", getShortName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("level", getLevel())
            .toString();
    }
}
